import dva from 'dva'
import indexRouter from './router'
import createLoading from 'dva-loading';

// 1. Initialize
const app = dva();

// 2. Plugins
app.use(createLoading());

// 3. Model

// 4. Router
app.router(indexRouter);

// 5. Start
app.start('#root');
